/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.alphawavesgames.engine.rendering;

/**
 *
 * @author duncan
 */
public class Colour4
{
    private float m_red;
    private float m_green;
    private float m_blue;
    private float m_alpha;

    public Colour4()
    {
        m_red = m_green = m_blue = m_alpha = 1.0f;
    }

    public Colour4( float initAll )
    {
        m_red = m_green = m_blue = m_alpha = initAll;
    }

    public Colour4( float r, float g, float b, float a )
    {
        m_red = r;
        m_green = g;
        m_blue = b;
        m_alpha = a;
    }

    public float getR() { return m_red; }
    public float getG() { return m_green; }
    public float getB() { return m_blue; }
    public float getA() { return m_alpha; }

    public void setR( float r ) { m_red = r; }
    public void setG( float g ) { m_green = g; }
    public void setB( float b ) { m_blue = b; }
    public void setA( float a ) { m_alpha = a; }


}
